<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="assets/css/bootstrap.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="css/style.css"/>
    <link href="assets/css/codemirror.css" rel="stylesheet">
    <link rel="stylesheet" href="assets/css/ace.min.css"/>
    <link rel="stylesheet" href="assets/css/font-awesome.min.css"/>
    <!--[if IE 7]>
    <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css"/>
    <![endif]-->
    <!--[if lte IE 8]>
    <link rel="stylesheet" href="assets/css/ace-ie.min.css"/>
    <![endif]-->
    <script src="assets/js/jquery.min.js"></script>

    <!-- <![endif]-->

    <!--[if IE]>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
    <![endif]-->

    <!--[if !IE]> -->

    <script type="text/javascript">
        window.jQuery || document.write("<script src='assets/js/jquery-2.0.3.min.js'>" + "<" + "/script>");
    </script>

    <!-- <![endif]-->

    <!--[if IE]>
    <script type="text/javascript">
        window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>" + "<" + "/script>");
    </script>
    <![endif]-->

    <script type="text/javascript">
        if ("ontouchend" in document) document.write("<script src='assets/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
    </script>
    <script src="assets/js/bootstrap.min.js"></script>
    <script src="assets/js/typeahead-bs2.min.js"></script>
    <!-- page specific plugin scripts -->
    <script src="assets/js/jquery.dataTables.min.js"></script>
    <script src="assets/js/jquery.dataTables.bootstrap.js"></script>
    <script type="text/javascript" src="js/H-ui.js"></script>
    <script type="text/javascript" src="js/H-ui.admin.js"></script>
    <script src="assets/layer/layer.js" type="text/javascript"></script>
    <script src="assets/laydate/laydate.js" type="text/javascript"></script>
    <style>
        #sample-table_filter {
            display: none !important;
        }
    </style>
    <title>广告管理</title>
</head>

<body>
<div class="page-content clearfix">
    <div id="Member_Ratings">
        <div class="d_Confirm_Order_style">
            <!---->
            <div class="border clearfix" style="margin-top:20px;">
       <span class="l_f">
        <a href="javascript:;" id="member_add"
           class="btn btn-warning add_gg"><i class="icon-plus"></i>添加广告位</a>
		<a href="javascript:;" class="btn btn-info all_edit"><i class="icon-edit"></i>批量编辑</a>
       </span>
            </div>
            <!---->
            <div class="table_menu_list">
                <table class="table table-striped table-bordered table-hover" id="sample-table">
                    <thead>
                    <tr>
                        <th width="25px" class="sorting_disabled" rowspan="1" colspan="1" aria-label="

                  " style="width: 20px;"><label>
                            <input type="checkbox" class="ace">
                            <span class="lbl"></span></label></th>
                        <th width="100">序号</th>
                        <th width="120">广告名称</th>
                        <th width="120">广告关键字</th>
                        <th width="100">广告类型</th>
                        <th width="100">广告描述</th>
                        <th width="120">显示期限</th>
                        <th width="150">显示位置</th>
                        <th width="110">广告尺寸</th>
                        <th width="110">广告背景图</th>
                        <th width="110">备注</th>
                        <th width="100">是否显示</th>
                        <th width="200">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td width="25px" class="sorting_disabled" rowspan="1" colspan="1" aria-label="

                  " style="width: 20px;"><label>
                            <input type="checkbox" class="ace">
                            <span class="lbl"></span></label></td>
                        <td>1</td>
                        <td>百度广告</td>
                        <td>美容</td>
                        <td>横幅广告</td>
                        <td>1111111111111111111111</td>
                        <td>2016-12-15~2017-01-01</td>
                        <td>侧边栏</td>
                        <td>300x600</td>
                        <td>紫色淡雅</td>
                        <td>111111</td>
                        <td>否</td>
                        <td class="td-manage">
                            <!--<a title="详情"-->
                               <!--href="javascript:;" class="btn btn-xs btn-success"><i class="icon-list bigger-120"></i></a>-->
                            <a title="编辑" href="javascript:;"
                               class="btn btn-xs btn-info add_gg_one"><i class="icon-edit  bigger-120"></i></a>
                            <!--<a title="管理" href="javascript:;"  onclick="member_xs()" class="btn btn-xs btn-success">管理<i class="bigger-120"></i></a> -->
                        </td>
                    </tr>
                    <tr>
                        <td width="25px" class="sorting_disabled" rowspan="1" colspan="1" aria-label="

                  " style="width: 20px;"><label>
                            <input type="checkbox" class="ace">
                            <span class="lbl"></span></label></td>
                        <td>2</td>
                        <td>百度广告</td>
                        <td>美容</td>
                        <td>横幅广告</td>
                        <td>1111111111111111111111</td>
                        <td>2016-12-15~2017-01-01</td>
                        <td>侧边栏</td>
                        <td>300x600</td>
                        <td>紫色淡雅</td>
                        <td>111111</td>
                        <td>是</td>
                        <td class="td-manage">
                            <!--<a title="详情"-->
                               <!--href="javascript:;" class="btn btn-xs btn-success"><i class="icon-list bigger-120"></i></a>-->
                            <a title="编辑" href="javascript:;"
                               class="btn btn-xs btn-info add_gg_one"><i class="icon-edit  bigger-120"></i></a>
                            <!--<a title="管理" href="javascript:;"  onclick="member_xs()" class="btn btn-xs btn-success">管理<i class="bigger-120"></i></a> -->
                        </td>
                    </tr>
                    <tr>
                        <td width="25px" class="sorting_disabled" rowspan="1" colspan="1" aria-label="

                  " style="width: 20px;"><label>
                            <input type="checkbox" class="ace">
                            <span class="lbl"></span></label></td>
                        <td>3</td>
                        <td>百度广告</td>
                        <td>美容</td>
                        <td>横幅广告</td>
                        <td>1111111111111111111111</td>
                        <td>2016-12-15~2017-01-01</td>
                        <td>侧边栏</td>
                        <td>300x600</td>
                        <td>紫色淡雅</td>
                        <td>111111</td>
                        <td>是</td>
                        <td class="td-manage">
                            <a title="编辑" href="javascript:;"
                               class="btn btn-xs btn-info add_gg_one"><i class="icon-edit  bigger-120"></i></a>
                            <!--<a title="管理" href="javascript:;"  onclick="member_xs()" class="btn btn-xs btn-success">管理<i class="bigger-120"></i></a> -->
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<div class="add_menber" id="add_menber_style" style="display:none;">
    <ul class=" page-content">
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告名称：</label>

            <div class="formControls ">
                <input type="text" class="input-text" value="" placeholder="" id="user-name" name="设置广告名称">
            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告关键字：</label>

            <div class="formControls ">
                <input type="text" class="input-text" value="" placeholder="" id="user-name" name="设置广告关键字">
            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告类型：</label>

            <div class="formControls ">
                <select name="gg_type" onchange="change_type_gg(5,this.options[this.options.selectedIndex].value,this)" id="" style="position: relative;left: 10px;">
                    <option value="1">横幅广告</option>
                    <option value="2">按钮广告</option>
                    <option value="3">通栏</option>
                    <option value="4">文字链接</option>
                    <option value="5">其他</option>
                </select>
                <input type="text"  class="input-text"  style="width: 77px;margin-left:20px;display: none" value="" id="user-name" name="其他">
            </div>
        </li>

        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告位置：</label>
            <div class="formControls ">
                <select name="gg_type" onchange="change_type_gg(4,this.options[this.options.selectedIndex].value,this)" style="position: relative;left: 10px;">
                    <option value="1">导航区</option>
                    <option value="2">侧边栏</option>
                    <option value="3">正文区</option>
                    <option value="4">其他</option>

                </select>
                <input type="text" class="input-text"  style="width: 77px;margin-left:20px; display: none" value="" id="user-name" name="其他">
            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>显示期限：</label>

            <div class="formControls ">
                <input type="text" style="width: 88px" class="input-text" value="" placeholder="" id="start" name="设置显示期限">到
                <input type="text" style="width: 88px;margin-left: 0;"  class="input-text" value="" placeholder="" id="end" name="设置显示期限">
            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告尺寸：</label>
            <div class="formControls ">
                <input type="text" class="input-text"  style="width: 77px"  value="" placeholder="" id="user-name" name="设置广告尺寸">x
                <input type="text" class="input-text"  style="width: 77px;margin-left: 0;" value="" placeholder="" id="user-name" name="设置广告尺寸">
            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告背景图：</label>
            <div class="formControls ">
                <select name="gg_type" id="" onchange="change_type_gg(5,this.options[this.options.selectedIndex].value,this)" style="position: relative;left: 10px;">
                    <option value="1">紫色淡雅</option>
                    <option value="2">古色古香</option>
                    <option value="3">清新淡雅</option>
                    <option value="4">卡通背景</option>
                    <option value="5">其他</option>
                </select>
                <input type="button" class="btn btn-success  btn-xs"  style="width: 77px;margin-left:20px;display: none" value="上传" id="user-name" name="其他">
            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>是否显示：</label>
            <div class="formControls ">
                <label style="margin-top:12px;">
                    <input type="checkbox" checked class="ace">
                    <span class="lbl"></span></label>
            </div>
        </li>
        <li class="Operate_cont clearfix" style="width: 100%;height: 100px;">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告描述：</label>

            <div class="formControls ">
                <textarea type="text" style="width: 200%;height: 100px" class="input-text" value="" placeholder="" id="user-name" name="设置广告描述"></textarea>
            </div>
        </li>
        <li class="Operate_cont clearfix"  style="width: 100%;height: 100px;">
            <label class="form-label"><span class="c-red"></span>备注：</label>

            <div class="formControls ">
                <textarea type="text" style="width: 200%;height: 100px" class="input-text" value="" placeholder="" id="user-name" name="设置广告名称"></textarea>
            </div>
        </li>
    </ul>
</div>
<div class="add_menber" id="add_menber_style1" style="display:none;">
    <ul class=" page-content">
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告名称：</label>

            <div class="formControls ">
                <input type="text" class="input-text" value="" placeholder="百度广告" id="user-name" name="设置广告名称">
            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告关键字：</label>

            <div class="formControls ">
                <input type="text" class="input-text" value="" placeholder="美容" id="user-name" name="设置广告关键字">
            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告类型：</label>

            <div class="formControls ">
                <select name="gg_type" onchange="change_type_gg(5,this.options[this.options.selectedIndex].value,this)" id="" style="position: relative;left: 10px;">
                    <option value="1">横幅广告</option>
                    <option value="2">按钮广告</option>
                    <option value="3">通栏</option>
                    <option value="4">文字链接</option>
                    <option value="5">其他</option>
                </select>
                <input type="text"  class="input-text"  style="width: 77px;margin-left:20px;display: none" value="" id="user-name" name="其他">
            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告位置：</label>
            <div class="formControls ">
                <select name="gg_type" onchange="change_type_gg(4,this.options[this.options.selectedIndex].value,this)" style="position: relative;left: 10px;">
                    <option value="1">导航区</option>
                    <option value="2" selected = "selected">侧边栏</option>
                    <option value="3">正文区</option>
                    <option value="4">其他</option>

                </select>
                <input type="text" class="input-text"  style="width: 77px;margin-left:20px; display: none" value="" id="user-name" name="其他">
            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>显示期限：</label>

            <div class="formControls ">
                <input type="text" style="width: 88px" class="input-text" value="" placeholder="2016-12-15" id="start" name="设置显示期限">到
                <input type="text" style="width: 88px;margin-left: 0;"  class="input-text" value="" placeholder="2017-01-01" id="end" name="设置显示期限">
            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告尺寸：</label>
            <div class="formControls ">
                <input type="text" class="input-text"  style="width: 77px"  value="" placeholder="300" id="user-name" name="设置广告尺寸">x
                <input type="text" class="input-text"  style="width: 77px;margin-left: 0;" value="" placeholder="600" id="user-name" name="设置广告尺寸">
            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告背景图：</label>
            <div class="formControls ">
                <select name="gg_type" id="" onchange="change_type_gg(5,this.options[this.options.selectedIndex].value,this)" style="position: relative;left: 10px;">
                    <option value="1">紫色淡雅</option>
                    <option value="2">古色古香</option>
                    <option value="3">清新淡雅</option>
                    <option value="4">卡通背景</option>
                    <option value="5">其他</option>
                </select>
                <input type="button" class="btn btn-success btn-xs"  style="width: 77px;margin-left:20px;display: none" value="上传" id="user-name" name="其他">

            </div>
        </li>
        <li class="Operate_cont clearfix">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>是否显示：</label>
            <div class="formControls ">
                <label style="margin-top:12px;">
                    <input type="checkbox" checked class="ace">
                    <span class="lbl"></span></label>
            </div>
        </li>
        <li class="Operate_cont clearfix" style="width: 100%;height: 100px;">
            <label class="form-label"><span class="c-red"></span><i style="color: #f00">*</i>广告描述：</label>

            <div class="formControls ">
                <textarea type="text" style="width: 200%;height: 100px" class="input-text" value="" placeholder="111111111111111111111" id="user-name" name="设置广告描述"></textarea>
            </div>
        </li>
        <li class="Operate_cont clearfix"  style="width: 100%;height: 100px;">
            <label class="form-label"><span class="c-red"></span>备注：</label>

            <div class="formControls ">
                <textarea type="text" style="width: 200%;height: 100px" class="input-text" value="" placeholder="1111111111111111111111" id="user-name" name="设置广告名称"></textarea>
            </div>
        </li>
    </ul>
</div>
<div class="add_menber" id="add_menber_style2" style="display:none;">
    <table class="table table-striped table-bordered table-hover">
        <thead>
        <tr>
            <th width="100">序号</th>
            <th width="120">广告名称</th>
            <th width="120">广告关键字</th>
            <th width="200">广告类型</th>
            <th width="100">广告描述</th>
            <th width="220">显示期限</th>
            <th width="200">显示位置</th>
            <th width="130">广告尺寸</th>
            <th width="200">广告背景图</th>
            <th width="100">是否显示</th>
            <th width="110">备注</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td>1</td>
            <td><input type="text" class="input-text" style="width: 70px" value="" placeholder="百度广告" id="user-name" name="设置广告名称"></td>
            <td> <input type="text" class="input-text" style="width: 60px" value="" placeholder="美容" id="user-name" name="设置广告关键字"></td>
            <td><select name="gg_type" onchange="change_type_gg(5,this.options[this.options.selectedIndex].value,this)" id="" style="position: relative;left: 10px;">
                <option value="1">横幅广告</option>
                <option value="2">按钮广告</option>
                <option value="3">通栏</option>
                <option value="4">文字链接</option>
                <option value="5">其他</option>
            </select>
                <input type="text"  class="input-text"  style="width: 77px;margin-left:20px;display: none" value="" id="user-name" name="其他"></td>
            <td><input type="text" class="input-text" style="width: 60px" value="" placeholder="1111111" id="user-name" name="设置广告描述"></td>
            <td><input type="text" style="width: 88px" class="input-text" id="start1" value="" placeholder="2016-12-15"  name="设置显示期限">到
                <input type="text" style="width: 88px;margin-left: 0;"  class="input-text" id="end1" value="" placeholder="2017-01-01" name="设置显示期限"></td>
            <td><select name="gg_type" onchange="change_type_gg(4,this.options[this.options.selectedIndex].value,this)" style="position: relative;left: 10px;">
                <option value="1">导航区</option>
                <option value="2" selected = "selected">侧边栏</option>
                <option value="3">正文区</option>
                <option value="4">其他</option>
            </select>
                <input type="text" class="input-text"  style="width: 77px;margin-left:20px; display: none" value="" id="user-name" name="其他"></td>
            <td><input type="text" class="input-text"  style="width: 40px"  value="" placeholder="300" id="user-name" name="设置广告尺寸">x
                <input type="text" class="input-text"  style="width: 40px;margin-left: 0;" value="" placeholder="600" id="user-name" name="设置广告尺寸"></td>
            <td> <select name="gg_type" id="" onchange="change_type_gg(5,this.options[this.options.selectedIndex].value,this)" style="position: relative;left: 10px;">
                <option value="1">紫色淡雅</option>
                <option value="2">古色古香</option>
                <option value="3">清新淡雅</option>
                <option value="4">卡通背景</option>
                <option value="5">其他</option>
            </select>
                <input type="text" class="input-text"  style="width: 77px;margin-left:20px;display: none" value="" id="user-name" name="其他"></td>
            <td><label>
                <input type="checkbox" class="ace">
                <span class="lbl"></span></label></td>
            <td><input type="text" class="input-text" style="width: 60px" value="" placeholder="1111111" id="user-name" name="备注"></td>
        </tr><tr>
            <td>1</td>
            <td><input type="text" class="input-text" style="width: 70px" value="" placeholder="百度广告" id="user-name" name="设置广告名称"></td>
            <td> <input type="text" class="input-text" style="width: 60px" value="" placeholder="美容" id="user-name" name="设置广告关键字"></td>
            <td><select name="gg_type" onchange="change_type_gg(5,this.options[this.options.selectedIndex].value,this)" id="" style="position: relative;left: 10px;">
                <option value="1">横幅广告</option>
                <option value="2">按钮广告</option>
                <option value="3">通栏</option>
                <option value="4">文字链接</option>
                <option value="5">其他</option>
            </select>
                <input type="text"  class="input-text"  style="width: 77px;margin-left:20px;display: none" value="" id="user-name" name="其他"></td>
            <td><input type="text" class="input-text" style="width: 60px" value="" placeholder="1111111" id="user-name" name="设置广告描述"></td>
            <td><input type="text" style="width: 88px" class="input-text" id="start2" value="" placeholder="2016-12-15"  name="设置显示期限">到
                <input type="text" style="width: 88px;margin-left: 0;"  class="input-text" id="end2" value="" placeholder="2017-01-01" name="设置显示期限"></td>
            <td><select name="gg_type" onchange="change_type_gg(4,this.options[this.options.selectedIndex].value,this)" style="position: relative;left: 10px;">
                <option value="1">导航区</option>
                <option value="2" selected = "selected">侧边栏</option>
                <option value="3">正文区</option>
                <option value="4">其他</option>
            </select>
                <input type="text" class="input-text"  style="width: 77px;margin-left:20px; display: none" value="" id="user-name" name="其他"></td>
            <td><input type="text" class="input-text"  style="width: 40px"  value="" placeholder="300" id="user-name" name="设置广告尺寸">x
                <input type="text" class="input-text"  style="width: 40px;margin-left: 0;" value="" placeholder="600" id="user-name" name="设置广告尺寸"></td>
            <td> <select name="gg_type" id="" onchange="change_type_gg(5,this.options[this.options.selectedIndex].value,this)" style="position: relative;left: 10px;">
                <option value="1">紫色淡雅</option>
                <option value="2">古色古香</option>
                <option value="3">清新淡雅</option>
                <option value="4">卡通背景</option>
                <option value="5">其他</option>
            </select>
                <input type="text" class="input-text"  style="width: 77px;margin-left:20px;display: none" value="" id="user-name" name="其他"></td>
            <td><label>
                <input type="checkbox" checked class="ace">
                <span class="lbl"></span></label></td>
            <td><input type="text" class="input-text" style="width: 60px" value="" placeholder="1111111" id="user-name" name="备注"></td>
        </tr><tr>
            <td>1</td>
            <td><input type="text" class="input-text" style="width: 70px" value="" placeholder="百度广告" id="user-name" name="设置广告名称"></td>
            <td> <input type="text" class="input-text" style="width: 60px" value="" placeholder="美容" id="user-name" name="设置广告关键字"></td>
            <td><select name="gg_type" onchange="change_type_gg(5,this.options[this.options.selectedIndex].value,this)" id="" style="position: relative;left: 10px;">
                <option value="1">横幅广告</option>
                <option value="2">按钮广告</option>
                <option value="3">通栏</option>
                <option value="4">文字链接</option>
                <option value="5">其他</option>
            </select>
                <input type="text"  class="input-text"  style="width: 77px;margin-left:20px;display: none" value="" id="user-name" name="其他"></td>
            <td><input type="text" class="input-text" style="width: 60px" value="" placeholder="1111111" id="user-name" name="设置广告描述"></td>
            <td><input type="text" style="width: 88px" class="input-text" id="start3" value="" placeholder="2016-12-15"  name="设置显示期限">到
                <input type="text" style="width: 88px;margin-left: 0;"  class="input-text" id="end3" value="" placeholder="2017-01-01" name="设置显示期限"></td>
            <td><select name="gg_type" onchange="change_type_gg(4,this.options[this.options.selectedIndex].value,this)" style="position: relative;left: 10px;">
                <option value="1">导航区</option>
                <option value="2" selected = "selected">侧边栏</option>
                <option value="3">正文区</option>
                <option value="4">其他</option>
            </select>
                <input type="text" class="input-text"  style="width: 77px;margin-left:20px; display: none" value="" id="user-name" name="其他"></td>
            <td><input type="text" class="input-text"  style="width: 40px"  value="" placeholder="300" id="user-name" name="设置广告尺寸">x
                <input type="text" class="input-text"  style="width: 40px;margin-left: 0;" value="" placeholder="600" id="user-name" name="设置广告尺寸"></td>
            <td> <select name="gg_type" id="" onchange="change_type_gg(5,this.options[this.options.selectedIndex].value,this)" style="position: relative;left: 10px;">
                <option value="1">紫色淡雅</option>
                <option value="2">古色古香</option>
                <option value="3">清新淡雅</option>
                <option value="4">卡通背景</option>
                <option value="5">其他</option>
            </select>
                <input type="text" class="input-text"  style="width: 77px;margin-left:20px;display: none" value="" id="user-name" name="其他"></td>
            <td><label>
                <input type="checkbox" checked class="ace">
                <span class="lbl"></span></label></td>
            <td><input type="text" class="input-text" style="width: 60px" value="" placeholder="1111111" id="user-name" name="备注"></td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>
<script>
    function change_type_gg(id,value,that){
        var inp_sh=$(that).next('input');
        inp_sh.hide();
        if(id==value){
            inp_sh.show();
        }

    }
    jQuery(function ($) {

        var oTable1 = $('#sample-table').dataTable({
//            "aaSorting": [[1, "desc"]],//默认第几个排序
            "bStateSave": false,//状态保存
            "aoColumnDefs": [
                //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
                {"orderable": false, "aTargets": [0, 2, 4, 5, 6, 8, 9]}// 制定列不参与排序
            ]
        });
        $(".add_gg").on('click', function () {
            layer.open({
                type: 1,
                title: '添加广告位',
                shadeClose: true, //点击遮罩关闭层
                area: ['900px', ''],
                content: $('#add_menber_style'),
                btn: ['提交','返回'],
                yes: function (index, layero) {
                    var num = 0;
                    var str = "";
                    $(".add_menber input[type$='text']").each(function (n) {
                        if ($(this).val() == "") {

                            layer.alert(str += "" + $(this).attr("name") + "不能为空！\r\n", {
                                title: '提示框',
                                icon: 0,
                            });
                            num++;
                            return false;
                        }
                    });
                    if (num > 0) {
                        return false;
                    }
                    else {
                        layer.alert('设置成功！', {
                            title: '提示框',
                            icon: 1,
                        });
                        layer.close(index);
                    }
                }
            });
        });
        $(".add_gg_one").on('click', function () {
            layer.open({
                type: 1,
                title: '编辑广告位',
                shadeClose: true, //点击遮罩关闭层
                area: ['900px', ''],
                content: $('#add_menber_style1'),
                btn: ['提交','返回'],
                yes: function (index, layero) {
                    var num = 0;
                    var str = "";
                    $(".add_menber input[type$='text']").each(function (n) {
                        if ($(this).val() == "") {

                            layer.alert(str += "" + $(this).attr("name") + "不能为空！\r\n", {
                                title: '提示框',
                                icon: 0,
                            });
                            num++;
                            return false;
                        }
                    });
                    if (num > 0) {
                        return false;
                    }
                    else {
                        layer.alert('设置成功！', {
                            title: '提示框',
                            icon: 1,
                        });
                        layer.close(index);
                    }
                }
            });
        });
        $(".all_edit").on('click', function () {
            layer.open({
                type: 1,
                title: '编辑广告位',
                shadeClose: true, //点击遮罩关闭层
                area: ['100%', ''],
                content: $('#add_menber_style2'),
                btn: ['提交','返回'],
                yes: function (index, layero) {
                        layer.close(index);

                }
            });
        });

        $('table th input:checkbox').on('click', function () {
            var that = this;
            $(this).closest('table').find('tr > td:first-child input:checkbox')
                    .each(function () {
                        this.checked = that.checked;
                        $(this).closest('tr').toggleClass('selected');
                    });

        });


        $('[data-rel="tooltip"]').tooltip({placement: tooltip_placement});
        function tooltip_placement(context, source) {
            var $source = $(source);
            var $parent = $source.closest('table')
            var off1 = $parent.offset();
            var w1 = $parent.width();

            var off2 = $source.offset();
            var w2 = $source.width();

            if (parseInt(off2.left) < parseInt(off1.left) + parseInt(w1 / 2)) return 'right';
            return 'left';
        }
    })
    /*部门-添加*/
    function member_add(title, url, id, w, h) {
        layer_show(title, url + '#?=' + id, w, h);
    }
    /*部门-编辑*/
    function member_edit(title, url, id, w, h) {
        layer_show(title, url + '#?=' + id, w, h);
    }

    /*部门-删除*/
    function member_del(obj, id) {
        layer.confirm('确认要删除吗？', function (index) {
            $(obj).parents("tr").remove();
            layer.msg('已删除!', {icon: 1, time: 1000});
        });
    }
    laydate({
        elem: '#start',
        event: 'focus'
    });
    laydate({
        elem: '#end',
        event: 'focus'
    });
    laydate({
        elem: '#start1',
        event: 'focus'
    });
    laydate({
        elem: '#end1',
        event: 'focus'
    }); laydate({
        elem: '#start2',
        event: 'focus'
    });
    laydate({
        elem: '#end2',
        event: 'focus'
    });
    laydate({
        elem: '#start3',
        event: 'focus'
    });
    laydate({
        elem: '#end3',
        event: 'focus'
    });

</script>